import Home from '../../modules/home/index.vue';
import Aquare from '../../modules/aquare/index.vue';
import AquareCard from '../../modules/aquare/card/index.vue';
import AquareCardAddcard from '../../modules/aquare/card/add-card/index.vue';
import AquareCardAddcardList from '../../modules/aquare/card/add-card/list.vue';
import AquareCardAddcardAdd from '../../modules/aquare/card/add-card/add.vue';
import AquareCardAddcardEdit from '../../modules/aquare/card/add-card/edit.vue';
import AquareCardPurchaseHistory from '../../modules/aquare/card/purchase-history/index.vue';
import AquareCardExplain from '../../modules/aquare/card/explain/index.vue';
import Product from '../../modules/aquare/product/index.vue';
import AquareProductAddproduct from '../../modules/aquare/product/add-product/index.vue';
import AquareProductAddproductList from '../../modules/aquare/product/add-product/list.vue';
import AquareProductAddproductAdd from '../../modules/aquare/product/add-product/add.vue';
import AquareProductAddproductEdit from '../../modules/aquare/product/add-product/edit.vue';
import AquareProductPurchaseHistory from '../../modules/aquare/product/purchase-history/index.vue';
import AquareCampusCard from '../../modules/aquare/campus-card/index.vue';
import AquareCampusCardClassify from '../../modules/aquare/campus-card/classify/index.vue';
import AquareCampusCardClassifyList from '../../modules/aquare/campus-card/classify/list.vue';
import AquareCampusCardClassifyAdd from '../../modules/aquare/campus-card/classify/add.vue';
import AquareCampusCardClassifyEdit from '../../modules/aquare/campus-card/classify/edit.vue';
import AquareCampusCardAddCampusCard from '../../modules/aquare/campus-card/add-campus-card/index.vue';
import AquareCampusCardAddCampusCardList from '../../modules/aquare/campus-card/add-campus-card/list.vue';
import AquareCampusCardAddCampusCardAdd from '../../modules/aquare/campus-card/add-campus-card/add.vue';
import AquareCampusCardAddCampusCardEdit from '../../modules/aquare/campus-card/add-campus-card/edit.vue';
import AquareCampusCardCardHistory from '../../modules/aquare/campus-card/card-history/index.vue';
import AquareAquareImg from '../../modules/aquare/aquare-img/index.vue';
import AquareAquareImgList from '../../modules/aquare/aquare-img/list.vue';
import AquareAquareImgAdd from '../../modules/aquare/aquare-img/add.vue';
import AquareAquareImgEdit from '../../modules/aquare/aquare-img/edit.vue';
import School from '../../modules/school/index.vue';
import SchoolList from '../../modules/school/list.vue';
import SchoolAdd from '../../modules/school/add.vue';
import SchoolEdit from '../../modules/school/edit.vue';
import Student from '../../modules/student/index.vue';
import DummyStudent from '../../modules/student/dummy-student/index.vue';
import DummyStudentList from '../../modules/student/dummy-student/list.vue';
import DummyStudentAdd from '../../modules/student/dummy-student/add.vue';
import DummyStudentEdit from '../../modules/student/dummy-student/edit.vue';
import Message from '../../modules/message/index.vue';
import Banner from '../../modules/banner/index.vue';
import BannerList from '../../modules/banner/list.vue';
import BannerAdd from '../../modules/banner/add.vue';
import BannerEdit from '../../modules/banner/edit.vue';
import Official from '../../modules/official/index.vue';
import OfficialBlog from '../../modules/official/official-blog/index.vue';
import OfficialBlogList from '../../modules/official/official-blog/list.vue';
import OfficialBlogAdd from '../../modules/official/official-blog/add.vue';
import OfficialBlogEdit from '../../modules/official/official-blog/edit.vue';
import Topic from '../../modules/official/topic/index.vue';
import Proposal from '../../modules/proposal/index.vue';
import PrizeProportion from '../../modules/prize-proportion/index.vue';
import PrizeProportionList from '../../modules/prize-proportion/list.vue';
import PrizeProportionAdd from '../../modules/prize-proportion/add.vue';
import PrizeProportionEdit from '../../modules/prize-proportion/edit.vue';

export default [
    {
        path: '/home',
        name: 'home',
        component: Home,
        meta: {
            title: '首页',
            is_menu: true,
        },

    },
    {
        path: '/aquare',
        name: 'aquare',
        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/index.vue'),
        meta: {
            title: '广场配置',
            is_menu: true,
        },

        children: [
            {
                path: '/aquare/card',
                name: 'aquare-card',
                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/card/index.vue'),
                meta: {
                    title: '置顶卡',
                    is_menu: true,
                },

                children: [
                    {
                        path: '/aquare/card/addcard',
                        name: 'aquare-card-addcard',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/card/add-card/index.vue'),
                        meta: {
                            title: '置顶卡配置',
                            is_menu: false,
                        },
                        redirect: '/aquare/card/addcard/list',
                        children: [
                            {
                                path: '/aquare/card/addcard/list',
                                name: 'aquare-card-addcard-list',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/card/add-card/list.vue'),
                                meta: {
                                    title: '置顶卡列表',
                                }
                            },
                            {
                                path: '/aquare/card/addcard/add',
                                name: 'aquare-card-addcard-add',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/card/add-card/add.vue'),

                                meta: {
                                    title: '置顶卡添加',
                                }
                            },
                            {
                                path: '/aquare/card/addcard/:id/edit',
                                name: 'aquare-card-addcard-edit',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/card/add-card/edit.vue'),
                                meta: {
                                    title: '置顶卡修改',
                                }
                            }
                        ]
                    },
                    {
                        path: '/aquare/card/purchase-history',
                        name: 'aquare-card-purchase-history',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/card/purchase-history/index.vue'),
                        meta: {
                            title: '置顶卡购买记录',
                            is_menu: true,
                        },

                    },
                    {
                        path: '/aquare/card/explain',
                        name: 'aquare-card-explain',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/card/explain/index.vue'),
                        meta: {
                            title: '置顶卡说明',
                            is_menu: true,
                        },

                    },
                ],
            },
            {
                path: '/aquare/product',
                name: 'product',
                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/product/index.vue'),
                meta: {
                    title: '积分商品',
                    is_menu: true,
                },
                children: [
                    {
                        path: '/aquare/product/addproduct',
                        name: 'aquare-product-addproduct',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/product/add-product/index.vue'),
                        meta: {
                            title: '积分商品配置',
                            is_menu: false,
                        },
                        redirect: '/aquare/product/addproduct/list',
                        children: [
                            {
                                path: '/aquare/product/addproduct/list',
                                name: 'aquare-product-addproduct-list',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/product/add-product/list.vue'),
                                meta: {
                                    title: '积分商品列表',
                                }
                            },
                            {
                                path: '/aquare/product/addproduct/add',
                                name: 'aquare-product-addproduct-add',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/product/add-product/add.vue'),

                                meta: {
                                    title: '积分商品添加',
                                }
                            },
                            {
                                path: '/aquare/product/addproduct/:id/edit',
                                name: 'aquare-product-addproduct-edit',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/product/add-product/edit.vue'),
                                meta: {
                                    title: '积分商品修改',
                                }
                            }
                        ],

                    },
                    {
                        path: '/aquare/product/purchase-history',
                        name: 'aquare-product-purchase-history',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/product/purchase-history/index.vue'),
                        meta: {
                            title: '商品购买记录',
                            is_menu: true,
                        },

                    },
                ],
            },
            {
                path: '/aquare/campus-card',
                name: 'aquare-campus-card',
                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/index.vue'),
                meta: {
                    title: '校园卡配置',
                    is_menu: true,
                },
                children: [
                    {
                        path: '/aquare/campus-card/classify',
                        name: 'aquare-campus-card-classify',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/classify/index.vue'),
                        meta: {
                            title: '运营商配置',
                            is_menu: false,
                        },
                        redirect: '/aquare/campus-card/classify/list',
                        children: [
                            {
                                path: '/aquare/campus-card/classify/list',
                                name: 'aquare-campus-card-classify-list',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/classify/list.vue'),
                                meta: {
                                    title: '运营商列表',
                                }
                            },
                            {
                                path: '/aquare/campus-card/classify/add',
                                name: 'aquare-campus-card-classify-add',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/classify/add.vue'),

                                meta: {
                                    title: '运营商添加',
                                }
                            },
                            {
                                path: '/aquare/campus-card/classify/:id/edit',
                                name: 'aquare-campus-card-classify-edit',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/classify/edit.vue'),
                                meta: {
                                    title: '运营商修改',
                                }
                            }
                        ],

                    },
                    {
                        path: '/aquare/campus-card/add-campus-card',
                        name: 'aquare-campus-card-add-campus-card',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/add-campus-card/index.vue'),
                        meta: {
                            title: '可用号码配置',
                            is_menu: false,
                        },
                        redirect: '/aquare/campus-card/add-campus-card/list',
                        children: [
                            {
                                path: '/aquare/campus-card/add-campus-card/list',
                                name: 'aquare-campus-card-add-campus-card-list',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/add-campus-card/list.vue'),
                                meta: {
                                    title: '可用号码列表',
                                }
                            },
                            {
                                path: '/aquare/campus-card/add-campus-card/add',
                                name: 'aquare-campus-card-add-campus-card-add',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/add-campus-card/add.vue'),

                                meta: {
                                    title: '可用号码添加',
                                }
                            },
                            {
                                path: '/aquare/campus-card/add-campus-card/:id/edit',
                                name: 'aquare-campus-card-add-campus-card-edit',
                                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/add-campus-card/edit.vue'),
                                meta: {
                                    title: '可用号码修改',
                                }
                            }
                        ],

                    },
                    {
                        path: '/aquare/campus-card/card-history',
                        name: 'aquare-campus-card-card-history',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/campus-card/card-history/index.vue'),
                        meta: {
                            title: '校园卡购买记录',
                            is_menu: false,
                        },

                    },
                ],
            },
            {
                path: '/aquare/aquare-img',
                name: 'aquare-aquare-img',
                component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/aquare-img/index.vue'),
                meta: {
                    title: '广场图',
                    is_menu: false,
                },
                redirect: '/aquare/aquare-img/list',
                children: [
                    {
                        path: '/aquare/aquare-img/list',
                        name: 'aquare-aquare-img-list',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/aquare-img/list.vue'),
                        meta: {
                            title: '广场图列表',
                        }
                    },
                    {
                        path: '/aquare/aquare-img/add',
                        name: 'aquare-aquare-img-add',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/aquare-img/add.vue'),

                        meta: {
                            title: '广场图添加',
                        }
                    },
                    {
                        path: '/aquare/aquare-img/:id/edit',
                        name: 'aquare-aquare-img-edit',
                        component: () => import(/* webpackChunkName: "school/aquare" */ '../../modules/aquare/aquare-img/edit.vue'),
                        meta: {
                            title: '广场图修改',
                        }
                    }
                ]
            },
        ],
    },
    {
        path: '/school',
        name: 'school',
        component: () => import(/* webpackChunkName: "school/school" */ '../../modules/school/index.vue'),
        meta: {
            title: '院校管理',
            is_menu: false,
        },
        redirect: '/school/list',
        children: [
            {
                path: '/school/list',
                name: 'school-list',
                component: () => import(/* webpackChunkName: "school/school" */ '../../modules/school/list.vue'),
                meta: {
                    title: '列表',
                }
            },
            {
                path: '/school/add',
                name: 'school-add',
                component: () => import(/* webpackChunkName: "school/school" */ '../../modules/school/add.vue'),

                meta: {
                    title: '添加',
                }
            },
            {
                path: '/school/:id/edit',
                name: 'school-edit',
                component: () => import(/* webpackChunkName: "school/school" */ '../../modules/school/edit.vue'),
                meta: {
                    title: '修改',
                }
            }
        ]

    },
    {
        path: '/student',
        name: 'student',
        component: Student,
        meta: {
            title: '学生管理',
            is_menu: true,
        },
        children: [
            {
                path: '/student/dummy-student',
                name: 'dummy-student',
                component: DummyStudent,
                meta: {
                    title: '学生管理',
                    is_menu: false,
                },
                redirect: '/student/dummy-student/list',
                children: [
                    {
                        path: '/student/dummy-student/list',
                        name: 'dummy-student-list',
                        component: DummyStudentList,
                        meta: {
                            title: '列表',
                        }
                    },
                    {
                        path: '/student/dummy-student/add',
                        name: 'dummy-student-add',
                        component: DummyStudentAdd,

                        meta: {
                            title: '添加',
                        }
                    },
                    {
                        path: '/student/dummy-student/:id/edit',
                        name: 'dummy-student-edit',
                        component: DummyStudentEdit,
                        meta: {
                            title: '修改',
                        }
                    }
                ]
            },

        ],
    },
    // {
    //     path: '/message',
    //     name: 'message',
    //     component: Message,
    //     meta: {
    //         title: '消息管理',
    //         is_menu: true,
    //     },

    // },
    {
        path: '/banner',
        name: 'banner',
        component: Banner,
        meta: {
            title: '轮播图管理',
            is_menu: false,
        },
        redirect: '/banner/list',
        children: [
            {
                path: '/banner/list',
                name: 'banner-list',
                component: BannerList,
                meta: {
                    title: '轮播图列表',
                }
            },
            {
                path: '/banner/add',
                name: 'banner-add',
                component: BannerAdd,

                meta: {
                    title: '轮播图添加',
                }
            },
            {
                path: '/banner/:id/edit',
                name: 'banner-edit',
                component: BannerEdit,
                meta: {
                    title: '轮播图修改',
                }
            }
        ]
    },
    {
        path: '/official',
        name: 'official',
        component: Official,
        meta: {
            title: '发帖管理',
            is_menu: true,
        },
        children: [
            {
                path: '/official-blog',
                name: 'official-blog',
                component: OfficialBlog,
                meta: {
                    title: '帖子管理',
                    is_menu: false,
                },
                redirect: '/official-blog/list',
                children: [
                    {
                        path: '/official-blog/list',
                        name: 'official-blog-list',
                        component: OfficialBlogList,
                        meta: {
                            title: '帖子列表',
                        }
                    },
                    {
                        path: '/official-blog/add',
                        name: 'official-blog-add',
                        component: OfficialBlogAdd,

                        meta: {
                            title: '帖子添加',
                        }
                    },
                    {
                        path: '/official-blog/:id/edit',
                        name: 'official-blog-edit',
                        component: OfficialBlogEdit,
                        meta: {
                            title: '帖子修改',
                        }
                    }
                ]
            },
            {
                path: '/topic',
                name: 'topic',
                component: Topic,
                meta: {
                    title: '话题',
                    is_menu: false,
                },
            }
        ],
    },

    {
        path: '/proposal',
        name: 'proposal',
        component: Proposal,
        meta: {
            title: '意见反馈',
            is_menu: false,
        },

    },
    {
        path: '/prize-proportion',
        name: 'prize-proportion',
        component: PrizeProportion,
        meta: {
            title: '抽积分配置',
            is_menu: false,
        },
        redirect: '/prize-proportion/list',
        children: [
            {
                path: '/prize-proportion/list',
                name: 'prize-proportion-list',
                component: PrizeProportionList,
                meta: {
                    title: '积分列表',
                }
            },
            {
                path: '/prize-proportion/add',
                name: 'prize-proportion-add',
                component: PrizeProportionAdd,
                meta: {
                    title: '积分添加',
                }
            },
            {
                path: '/prize-proportion/:id/edit',
                name: 'prize-proportion-edit',
                component: PrizeProportionEdit,
                meta: {
                    title: '积分修改',
                }
            }
        ]
    },
    {
        path: '/set',
        name: 'set',
        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/index.vue'),
        meta: {
            title: '设置',
            is_menu: true,
        },
        children: [
            {
                path: '/set/framer-center',
                name: 'framer-center',
                component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/framer-center/index.vue'),
                meta: {
                    title: '创作者中心',
                    is_menu: false,
                },
                redirect: '/set/framer-center/list',
                children: [
                    {
                        path: '/set/framer-center/list',
                        name: 'framer-center-list',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/framer-center/list.vue'),
                        meta: {
                            title: '图片列表',
                        }
                    },
                    {
                        path: '/set/framer-center/add',
                        name: 'framer-center-add',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/framer-center/add.vue'),

                        meta: {
                            title: '创作者中心添加',
                        }
                    },
                    {
                        path: '/set/framer-center/:id/edit',
                        name: 'framer-center-edit',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/framer-center/edit.vue'),
                        meta: {
                            title: '创作者中心修改',
                        }
                    }
                ]
            },
            {
                path: '/set/business-cooperation',
                name: 'business-cooperation',
                component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/business-cooperation/index.vue'),
                meta: {
                    title: '商务合作',
                    is_menu: false,
                },
                redirect: '/set/business-cooperation/list',
                children: [
                    {
                        path: '/set/business-cooperation/list',
                        name: 'business-cooperation-list',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/business-cooperation/list.vue'),
                        meta: {
                            title: '图片列表',
                        }
                    },
                    {
                        path: '/set/business-cooperation/add',
                        name: 'business-cooperation-add',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/business-cooperation/add.vue'),

                        meta: {
                            title: '商务合作添加',
                        }
                    },
                    {
                        path: '/set/business-cooperation/:id/edit',
                        name: 'business-cooperation-edit',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/business-cooperation/edit.vue'),
                        meta: {
                            title: '商务合作修改',
                        }
                    }
                ]
            },
            {
                path: '/set/cryptonym',
                name: 'cryptonym',
                component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/cryptonym/index.vue'),
                meta: {
                    title: '匿名头像',
                    is_menu: false,
                },
                redirect: '/set/cryptonym/list',
                children: [
                    {
                        path: '/set/cryptonym/list',
                        name: 'cryptonym-list',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/cryptonym/list.vue'),
                        meta: {
                            title: '图片列表',
                        }
                    },
                    {
                        path: '/set/cryptonym/add',
                        name: 'cryptonym-add',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/cryptonym/add.vue'),

                        meta: {
                            title: '添加',
                        }
                    },
                    {
                        path: '/set/cryptonym/:id/edit',
                        name: 'cryptonym-edit',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/cryptonym/edit.vue'),
                        meta: {
                            title: '修改',
                        }
                    }
                ]
            },
            {
                path: '/set/user-back',
                name: 'user-back',
                component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/user-back/index.vue'),
                meta: {
                    title: '个人资料默认背景图',
                    is_menu: false,
                },
                redirect: '/set/user-back/list',
                children: [
                    {
                        path: '/set/user-back/list',
                        name: 'user-back-list',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/user-back/list.vue'),
                        meta: {
                            title: '图片列表',
                        }
                    },
                    {
                        path: '/set/user-back/add',
                        name: 'user-back-add',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/user-back/add.vue'),

                        meta: {
                            title: '添加',
                        }
                    },
                    {
                        path: '/set/user-back/:id/edit',
                        name: 'user-back-edit',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/user-back/edit.vue'),
                        meta: {
                            title: '修改',
                        }
                    }
                ]
            },
            {
                path: '/set/about',
                name: 'about',
                component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/about/index.vue'),
                meta: {
                    title: '关于我们',
                    is_menu: false,
                },
                redirect: '/set/about/list',
                children: [
                    {
                        path: '/set/about/list',
                        name: 'about-list',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/about/list.vue'),
                        meta: {
                            title: '图片列表',
                        }
                    },
                    {
                        path: '/set/about/add',
                        name: 'about-add',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/about/add.vue'),

                        meta: {
                            title: '添加',
                        }
                    },
                    {
                        path: '/set/about/:id/edit',
                        name: 'about-edit',
                        component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/about/edit.vue'),
                        meta: {
                            title: '修改',
                        }
                    }
                ]
            },
            {
                path: '/user-agreement',
                name: 'user-agreement',
                component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/user-agreement/index.vue'),
                meta: {
                    title: '用户协议',
                    is_menu: false,
                },
            },
            {
                path: '/privacy-policy',
                name: 'privacy-policy',
                component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/privacy-policy/index.vue'),
                meta: {
                    title: '隐私政策',
                    is_menu: false,
                },
            },
            {
                path: '/certificationi-nstructions',
                name: 'certificationi-nstructions',
                component: () => import(/* webpackChunkName: "school/set" */ '../../modules/set/certificationi-nstructions/index.vue'),
                meta: {
                    title: '认证须知',
                    is_menu: false,
                },
            },

        ],
    },
];